package com.jy.rhin.model.body.tangniaobsf;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ZhiLiaoJH {
    //目标体重
    @XPath(path = "/entry/observation/code[@code='DE06.00.081.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_10_188X_00, nullable = true))
    String muBiaoTZ;
    //目标体质指数
    @XPath(path = "/entry/observation/code[@code='DE05.10.075.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_075_00, nullable = true))
    String muBiaoTZZS;
    //目标日吸烟量
    @XPath(path = "/entry/observation/code[@code='DE03.00.053.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_053_00, nullable = true))
    String muBiaoRXYL;
    //目标日饮酒量
    @XPath(path = "/entry/observation/code[@code='DE03.00.054.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_054_00, nullable = true))
    String muBiaoRYJL;
    //锻炼频率
    @XPath(path = "/entry/observation/code[@code='DE03.00.087.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_087_00, nullable = true))
    CodeObject muBiaoDLPL;
    //目标运动时长
    @XPath(path = "/entry/observation/code[@code='DE03.00.088.00']/../value/width/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_088_00, nullable = true))
    String muBiaoYDSC;
    //目标日主食量（g）
    @XPath(path = "/entry/observation/code[@code='DE03.00.055.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_055_00, nullable = true))
    String muBiaoRZSL;
}
